package com.ai.bitcoin.jpa.service.impl;

import com.ai.bitcoin.jpa.dao.BccIndexInfoDao;
import com.ai.bitcoin.jpa.dao.BccIndexInfoHisDao;
import com.ai.bitcoin.jpa.entity.BccDailyInfo;
import com.ai.bitcoin.jpa.entity.BccIndexInfo;
import com.ai.bitcoin.jpa.entity.BccIndexInfoHis;
import com.ai.bitcoin.jpa.service.BccIndexInfoHisService;
import com.ai.bitcoin.jpa.service.BccIndexInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author Jason
 * @date 2018/4/11
 **/
@Component
public class BccIndexInfoHisServiceImpl implements BccIndexInfoHisService {
    @Autowired
    BccIndexInfoHisDao dao;

    @Override
    @Transactional
    public void save(BccIndexInfoHis bccIndexInfoHis) {
        dao.save(bccIndexInfoHis);
    }
}
